import ReactDOM from 'react-dom'
// import './usePopup.less'

function Popup(props) {
  let dom = document.createElement('div')
  document.body.appendChild(dom)
  return ReactDOM.createPortal(props.children, dom)
}
export default Popup